projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc858c9
)
docs: Allow interrupted lists
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 24 May 2020 18:20:42 +0000
(14:20 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 25 May 2020 20:11:18 +0000
(16:11 -0400)
We use such an interrupted, numbered list in the
q&a section, so tell pandoc to pay attention to
start numbers.
docs/reference/gtk/gtk-markdown-to-docbook
patch
|
blob
|
history
diff --git
a/docs/reference/gtk/gtk-markdown-to-docbook
b/docs/reference/gtk/gtk-markdown-to-docbook
index aa5dd53e6163cef643cfe27375bb74b05873e155..5830d64d78974ae488c9eb06cbbf3362e9982b91 100755
(executable)
--- a/
docs/reference/gtk/gtk-markdown-to-docbook
+++ b/
docs/reference/gtk/gtk-markdown-to-docbook
@@
-163,6
+163,7
@@
MarkdownExtensions = {
'+backtick_code_blocks', # to replace |[ ]|
'+fenced_code_attributes', # to add language annotations
'-raw_html', # to escape literal tags like <child> in input
+ '+startnum', # to have interrupted lists in the q&a part
}
def ConvertToDocbook(infile, outfile):